import 'package:ente_rust/ente_rust.dart';
import 'package:ente_rust/src/rust/api/urls.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';

void main() {
  IntegrationTestWidgetsFlutterBinding.ensureInitialized();

  setUp(() async {
    await EnteRust.init();
  });

  test('file_download_url integration smoke test', () {
    final url =
        fileDownloadUrl(apiBaseUrl: 'https://api.ente.io', fileId: 12345);
    expect(url, equals('https://files.ente.io/?fileID=12345'));
  });
}
